package vn.edu.ptithcm.pim.service;

import vn.edu.ptithcm.pim.dom.Country;

import java.util.List;

import vn.edu.ptithcm.pim.dao.CountryDao;
@SuppressWarnings({ "rawtypes" })
public class CountryService {
	private CountryDao countryDao;

	public CountryDao getCountryDao() {
		return countryDao;
	}

	public void setCountryDao(CountryDao countryDao) {
		this.countryDao = countryDao;
	}

	public void save(Country country) {
		countryDao.save(country);
	}

	public void saveOrUpdate(Country country) {
		countryDao.saveOrUpdate(country);
	}

	public void lock(Country country) {
		countryDao.lock(country);
	}

	public void delete(Country country) {
		countryDao.delete(country);
	}

	public Country merge(Country country) {
		return countryDao.merge(country);
	}

	public Country findById(java.lang.Long id) {
		return countryDao.findById(id);
	}

	public List findByExample(Country country) {
		return countryDao.findByExample(country);
	}

	public List getAll() {
		return countryDao.getAll();
	}

	
}
